package jgl.vajra.kingkong.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class ExtraRequireBean implements Parcelable {


    public ExtraRequireBean() {

    }

    public String name;
    public String price;

    protected ExtraRequireBean(Parcel in) {
        name = in.readString();
        price = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(name);
        dest.writeString(price);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ExtraRequireBean> CREATOR = new Creator<ExtraRequireBean>() {
        @Override
        public ExtraRequireBean createFromParcel(Parcel in) {
            return new ExtraRequireBean(in);
        }

        @Override
        public ExtraRequireBean[] newArray(int size) {
            return new ExtraRequireBean[size];
        }
    };
}
